﻿using System.Collections.Generic;

namespace com.binance.client.model.user
{
	using BinanceApiConstants = com.binance.client.constant.BinanceApiConstants;
	using ToStringBuilder = org.apache.commons.lang3.builder.ToStringBuilder;

	public class AccountUpdate
	{

		private IList<BalanceUpdate> balances;

		private IList<PositionUpdate> positions;

		public virtual IList<BalanceUpdate> Balances
		{
			get
			{
				return balances;
			}
			set
			{
				this.balances = value;
			}
		}


		public virtual IList<PositionUpdate> Positions
		{
			get
			{
				return positions;
			}
			set
			{
				this.positions = value;
			}
		}


		public override string ToString()
		{
			return (new ToStringBuilder(this, BinanceApiConstants.TO_STRING_BUILDER_STYLE)).append("balances", balances).append("positions", positions).ToString();
		}
	}

}